a = require "../db/CustomApp"
console.log a
user = {
  name: "app1",
  version: "2",
  logo: "test",
  splash: "s",
  user_id: 982
}
conditions = {
  name: "app1"
}
# a.save user, (err, obj, c) ->
#   console.log obj


a.list 1, 4, "name",  (a, b) ->
  console.log a
  console.log JSON.stringify b
